<?php
	$slide = NULL;
	if ($slides) {
		foreach ($slides as $s) {
			$slide = $s;
			break;
		}
	}
		
?>
<div id='slide'>
	<div class='main_img'>
		<img src='/uploads/cms/big_slide_<? echo ($slide)?($slide['picture']):"" ?>' />
		<div class='bg_main_img'></div>
	</div>
    <div class='logo_2'></div>
	<div class='slide_menu'>
	<?php
		$cnt = 0;
		foreach ($slides as $slide)
		{
			$cnt ++;
		?>
		<div class='slide_menu_item <?=($cnt==1)?"active":""?>' style='<?php echo ($cnt == 1)?"margin-left:0px;":""?>'>
			<img src='/uploads/cms/slide_<? echo $slide['picture'] ?>' />
            <div class='bg_slide_img bg_slide_img_<?php echo $cnt;?>'></div>
		</div>
		<?
		}
	?>
	</div>
</div>

<div class='wrap_datepicker'>
	<div class='title cufon'>
    	Liên hệ với chúng tôi
    </div>
</div>

<div class='wrap_ground'>
	<div class='thong_tin_lien_he'>
		<?php echo htmlspecialchars_decode($contact_information)?>
    </div>
    <div class='form_lien_he'>
        <div id='notify' style='font-size:12px;'></div>
        <form name="contactfrm" class="wrapper_contact"  onSubmit="return send_contact(this);" method="post" action="#">
            <input type="hidden" name="func" value="send" />
            <fieldset>
                <label>Họ và tên (*)</label>	
                <input type="text" class="name" value="" name="txt_ten" />                
            </fieldset>
            
            <fieldset>
                <label>Email (*)</label>	
                <input type="text" class="email" value="" name="txt_email" />
            </fieldset>
            
            <div class="clearfix"></div>
            
            <fieldset>
                <label>Điện thoại</label>	
                <input type="text" class="phone" value="" name="txtTel" />
            </fieldset>
            
            <fieldset>
                <label>Địa chỉ</label>	
                <input type="text" class="address" value="" name="txtAddress" />
            </fieldset>
            <div class="clearfix"></div>
            <fieldset>
                <label>Tiêu đề (*)</label>	
                <input type="text" class="subject" value="" name="txt_tieu_de" />
            </fieldset>
            <div class="clearfix"></div>
            
            <fieldset>
                <label>Nội dung (*)</label>	
                <textarea rows="5" name="txt_noi_dung" cols="40"></textarea>
            
            </fieldset>
            
            <div class="clearfix"></div>
            <input class="submit" type="submit" value='' />
            <div class="clearfix"></div>
        </form>
    </div>
    <div style='clear:both'></div>
    <div style='width:660px; margin:0 auto;'>	
    	<?php echo htmlspecialchars_decode($map); ?>
    </div>
</div>

<div class='copyright'>
    <div class='body_line'></div>
    <div style='text-align:center'>
        <?php echo htmlspecialchars_decode($copyright) ?>
    </div>
</div>